import java.util.Scanner;
public class input2 
	{
		public static void main(String[]args)
		{
			Scanner scan = new Scanner(System.in);
			System.out.print("What's your number?\n");
			int num1 = scan.nextInt();
			
			if (num1 < 0)
			{
				System.out.print("Error! Number too low.");
			}
			else
			{
				for (int i = 0 ; i<=num1 ; i++)
				{
					System.out.println(i);
				}
			}
		}
	}
